home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / wordapi / readme.txt < prev    next >
Text File  |  1995-12-22  |  2KB  |  44 lines

  1.  
  2. This is a translation of the Word API for Borland Pascal 7. It works
  3. with Borland's Delphi as well.
  4.  
  5. The original "C" sources are shipped with Microsoft's Word Development Kit.
  6.  
  7. --------------------------------------------------------------------------
  8. LEGAL STUFF:
  9. "These materials were developed from a Product of Microsoft Corporation,
  10. which reserves all rights. They have been modified by Martin Austermeier"
  11.  
  12. Disclaimer: Use this software at your own risk.
  13. The author (Martin Austermeier) gives no warranties of any kind. Especially,
  14. the author refuses any responsibility for functionality or data loss.
  15. --------------------------------------------------------------------------
  16.  
  17.  
  18. There are two ways to use the Units:
  19.  
  20.   * for building a .WLL (Word Add-In DLL)
  21.     See TESTWLL.PAS for an example .WLL
  22.     After compiling, rename the .DLL to *.WLL to use
  23.     it with Word (-> File/Templates..)
  24.  
  25.   * for executing WordBasic commands from your application via SendMessage()
  26.     This is safer than using DDE, because no asynchronous protocol has to be used.
  27.  
  28.     Define the switch "USE_SENDMESSAGE" (see CAPILIB.PAS)
  29.     { in fact, SendMessage() may also be used from a .WLL, so this
  30.     is the default setting }
  31.  
  32.     Include the units in your application, and call Word like shown in the
  33.     sample functions in TESTEXE.Test1 (contained in TEST.INC)
  34.  
  35. Note: I have renamed the string functions containing "$" in WDCMDS, as Pascal
  36. treats "$" differently. "$" became "Str", so "Selection$" is "wdSelectionStr".
  37.  
  38.  
  39. Have fun :)
  40.  
  41. Martin Austermeier
  42. 100116.3455@compuserve.com
  43.  
  44.